<template>
    <view class="xilu p30">
        <view class="fs36 col10 pb50">{{article.name}}</view>
        <!-- 富文本 -->
        <u-parse :content="article.content"></u-parse>
    </view>
</template>

<script>
    export default {
        data() {
            return {
				articleId:0,
                article: {content:''}
            };
        },
		onLoad(options) {
			this.articleId = options.id || ''
			this.fetchDetail();
		},
		methods:{
			fetchDetail(){
				this.$core.post({url: 'xilumarket.article/detail',data: {article_id:this.articleId},loading: false,success: ret => {
						this.article = ret.data;
					},fail: err => {
						console.log(err);
					}
				});
			},
		}
		
    }
</script>

<style lang="scss">

</style>
